﻿<div id="pui_msg">
</div>
<script>
(function(){
	var dr=new Mui.util.DocsRender({
		renderTo:'pui_msg',
		data:{
			title:'Mui.msg',
			//superclass:'Mui.msg',
			desc:'该命名空间提供一些常用的关于对话框的方法、提示框的图标样式等',
			public:[{
				name:'icon',
				desc:'tips提示框的图标样式名称集合，包括warring:\'pui-msg-icon-warring\',info:\'pui-msg-icon-info\',error:\'pui-msg-icon-error\',question:\'pui-msg-icon-question\'',
				type:'object',
				def:'{warring:\'pui-msg-icon-warring\',<br/>info:\'pui-msg-icon-info\',<br/>error:\'pui-msg-icon-error\',<br/>question:\'pui-msg-icon-question\'<br/>}'
			}],
			fn:[
			{
				name:'alert(object conf)',
				desc:'弹出消息提示对话框',
				param:[{
					name:'conf',
					desc:'对话框的配置信息，{title:\'请确认\',msg:\'不能执行该操作！\',tipsIcon:\'pui-msg-icon-info\'}'
				}]
			},
			{
				name:'confirm(object conf)',
				desc:'弹出确认对话框',
				param:[{
					name:'conf',
					desc:'对话框的配置信息，{title:\'请确认\',msg:\'不能执行该操作！\',tipsIcon:\'pui-msg-icon-question\',sure:function(){},cancel:function(){}},<br/>其中sure所对应的function是确认按钮对应的回调事件；<br/>cancel所对应的function是取消按钮对应的回调事件'
				}]
			},
			{
				name:'alert(object conf)',
				desc:'弹出对话框',
				param:[{
					name:'conf',
					desc:'对话框的配置信息，{title:\'请确认\',msg:\'不能执行该操作！\',tipsIcon:\'pui-msg-icon-info\'}'
				}]
			},
			{
				name:'alert(object conf)',
				desc:'弹出对话框',
				param:[{
					name:'conf',
					desc:'对话框的配置信息，{title:\'请确认\',msg:\'不能执行该操作！\',tipsIcon:\'pui-msg-icon-info\'}'
				}]
			}
			]
		}
	});
})();
</script>